<?php
namespace handler;

use com\penngo\RegisterServiceIf;
use com\penngo\User;
class RegisterServiceHandler implements RegisterServiceIf {
    public function createUser($name, $psw){
        $user = new User();
        $user->id = 2;
        $user->name = $name;
        $user->password = $psw;
        return $user;
    }
};

?>